import {showMenu, showHeader, showBreadcrumb, showTagsView} from '@/settings'
const state = {
    showMenu,
    showHeader,
    showBreadcrumb,
    showTagsView,
}

const getters = {
    getShowMenu: state => state.showMenu,
    getShowHeader: state => state.showHeader,
    getShowBreadcrumb: state => state.showBreadcrumb,
    getShowTagsView: state => state.showTagsView,
}

const mutations = {
    setShowMenu(state, data) {
        state.showMenu = data
    },
    setShowHeader(state, data) {
        state.showHeader = data
    },
    setShowBreadcrumb(state, data) {
        state.showBreadcrumb = data
    },
    setShowTagsView(state, data) {
        state.showTagsView = data
    },
}

export default {
    state, getters, mutations
}